package cn.zcf.basic.query;

import lombok.Data;

@Data
public class BaseQuery {
    private Integer currentPage=1;
    private Integer pageSize=5;
    private String keywords = null;
    public Integer getBegin(){
        return (this.currentPage-1)*this.pageSize;
    }
}
